﻿using System;
using System.Collections.Generic;
using System.Text;
using DevExpress.XtraGrid.Localization;


namespace MainApp
{
    class VNGridResLocalizer: GridResLocalizer
    {
        private GridResLocalizer defaultLocalizer;
        public VNGridResLocalizer(GridResLocalizer defaultLocalizer)
        {
            this.defaultLocalizer = defaultLocalizer;
        }

        public override string GetLocalizedString(GridStringId id)
        {
            switch (id)
            {
                //case GridStringId.CardViewCaptionFormat:
                //    break;
                //case GridStringId.CardViewNewCard:
                //    break;
                //case GridStringId.CardViewQuickCustomizationButton:
                //    break;
                //case GridStringId.CardViewQuickCustomizationButtonFilter:
                //    break;
                //case GridStringId.CardViewQuickCustomizationButtonSort:
                //    break;
                //case GridStringId.ColumnViewExceptionMessage:
                //    break;
                //case GridStringId.CustomFilterDialog2FieldCheck:
                //    break;
                //case GridStringId.CustomFilterDialogCancelButton:
                //    break;
                //case GridStringId.CustomFilterDialogCaption:
                //    break;
                //case GridStringId.CustomFilterDialogClearFilter:
                //    break;
                //case GridStringId.CustomFilterDialogConditionBlanks:
                //    break;
                //case GridStringId.CustomFilterDialogConditionEQU:
                //    break;
                //case GridStringId.CustomFilterDialogConditionGT:
                //    break;
                //case GridStringId.CustomFilterDialogConditionGTE:
                //    break;
                //case GridStringId.CustomFilterDialogConditionLT:
                //    break;
                //case GridStringId.CustomFilterDialogConditionLTE:
                //    break;
                //case GridStringId.CustomFilterDialogConditionLike:
                //    break;
                //case GridStringId.CustomFilterDialogConditionNEQ:
                //    break;
                //case GridStringId.CustomFilterDialogConditionNonBlanks:
                //    break;
                //case GridStringId.CustomFilterDialogConditionNotLike:
                //    break;
                //case GridStringId.CustomFilterDialogEmptyOperator:
                //    break;
                //case GridStringId.CustomFilterDialogEmptyValue:
                //    break;
                //case GridStringId.CustomFilterDialogFormCaption:
                //    break;
                //case GridStringId.CustomFilterDialogHint:
                //    break;
                //case GridStringId.CustomFilterDialogOkButton:
                //    break;
                //case GridStringId.CustomFilterDialogRadioAnd:
                //    break;
                //case GridStringId.CustomFilterDialogRadioOr:
                //    break;
                //case GridStringId.CustomizationBands:
                //    break;
                //case GridStringId.CustomizationCaption:
                //    break;
                //case GridStringId.CustomizationColumns:
                //    break;
                //case GridStringId.CustomizationFormBandHint:
                //    break;
                //case GridStringId.CustomizationFormColumnHint:
                //    break;
                //case GridStringId.FileIsNotFoundError:
                //    break;
                //case GridStringId.FilterBuilderApplyButton:
                //    break;
                //case GridStringId.FilterBuilderCancelButton:
                //    break;
                //case GridStringId.FilterBuilderCaption:
                //    break;
                //case GridStringId.FilterBuilderOkButton:
                //    break;
                //case GridStringId.FilterPanelCustomizeButton:
                //    break;
                //case GridStringId.FindControlClearButton:
                //    break;
                //case GridStringId.FindControlFindButton:
                //    break;
                //case GridStringId.GridGroupPanelText:
                //    break;
                //case GridStringId.GridNewRowText:
                //    break;
                //case GridStringId.GridOutlookIntervals:
                //    break;
                //case GridStringId.GroupSummaryEditorFormCancelButton:
                //    break;
                //case GridStringId.GroupSummaryEditorFormCaption:
                //    break;
                //case GridStringId.GroupSummaryEditorFormItemsTabCaption:
                //    break;
                //case GridStringId.GroupSummaryEditorFormOkButton:
                //    break;
                //case GridStringId.GroupSummaryEditorFormOrderTabCaption:
                //    break;
                //case GridStringId.GroupSummaryEditorSummaryAverage:
                //    break;
                //case GridStringId.GroupSummaryEditorSummaryCount:
                //    break;
                //case GridStringId.GroupSummaryEditorSummaryMax:
                //    break;
                //case GridStringId.GroupSummaryEditorSummaryMin:
                //    break;
                //case GridStringId.GroupSummaryEditorSummarySum:
                //    break;
                //case GridStringId.LayoutModifiedWarning:
                //    break;
                //case GridStringId.LayoutViewButtonApply:
                //    break;
                //case GridStringId.LayoutViewButtonCancel:
                //    break;
                //case GridStringId.LayoutViewButtonCustomizeHide:
                //    break;
                //case GridStringId.LayoutViewButtonCustomizeShow:
                //    break;
                //case GridStringId.LayoutViewButtonLoadLayout:
                //    break;
                //case GridStringId.LayoutViewButtonOk:
                //    break;
                //case GridStringId.LayoutViewButtonPreview:
                //    break;
                //case GridStringId.LayoutViewButtonReset:
                //    break;
                //case GridStringId.LayoutViewButtonSaveLayout:
                //    break;
                //case GridStringId.LayoutViewButtonShrinkToMinimum:
                //    break;
                //case GridStringId.LayoutViewCardCaptionFormat:
                //    break;
                //case GridStringId.LayoutViewCarouselModeBtnHint:
                //    break;
                //case GridStringId.LayoutViewCloseZoomBtnHintClose:
                //    break;
                //case GridStringId.LayoutViewCloseZoomBtnHintZoom:
                //    break;
                //case GridStringId.LayoutViewColumnModeBtnHint:
                //    break;
                //case GridStringId.LayoutViewCustomizationFormCaption:
                //    break;
                //case GridStringId.LayoutViewCustomizationFormDescription:
                //    break;
                //case GridStringId.LayoutViewCustomizeBtnHint:
                //    break;
                //case GridStringId.LayoutViewFieldCaptionFormat:
                //    break;
                //case GridStringId.LayoutViewGroupCaptions:
                //    break;
                //case GridStringId.LayoutViewGroupCards:
                //    break;
                //case GridStringId.LayoutViewGroupCustomization:
                //    break;
                //case GridStringId.LayoutViewGroupFields:
                //    break;
                //case GridStringId.LayoutViewGroupHiddenItems:
                //    break;
                //case GridStringId.LayoutViewGroupIndents:
                //    break;
                //case GridStringId.LayoutViewGroupIntervals:
                //    break;
                //case GridStringId.LayoutViewGroupLayout:
                //    break;
                //case GridStringId.LayoutViewGroupPropertyGrid:
                //    break;
                //case GridStringId.LayoutViewGroupTreeStructure:
                //    break;
                //case GridStringId.LayoutViewGroupView:
                //    break;
                //case GridStringId.LayoutViewLabelAllowFieldHotTracking:
                //    break;
                //case GridStringId.LayoutViewLabelCaptionLocation:
                //    break;
                //case GridStringId.LayoutViewLabelCardArrangeRule:
                //    break;
                //case GridStringId.LayoutViewLabelCardEdgeAlignment:
                //    break;
                //case GridStringId.LayoutViewLabelGroupCaptionLocation:
                //    break;
                //case GridStringId.LayoutViewLabelHorizontal:
                //    break;
                //case GridStringId.LayoutViewLabelPadding:
                //    break;
                //case GridStringId.LayoutViewLabelScrollVisibility:
                //    break;
                //case GridStringId.LayoutViewLabelShowCardBorder:
                //    break;
                //case GridStringId.LayoutViewLabelShowCardCaption:
                //    break;
                //case GridStringId.LayoutViewLabelShowCardExpandButton:
                //    break;
                //case GridStringId.LayoutViewLabelShowFieldBorder:
                //    break;
                //case GridStringId.LayoutViewLabelShowFieldHint:
                //    break;
                //case GridStringId.LayoutViewLabelShowFilterPanel:
                //    break;
                //case GridStringId.LayoutViewLabelShowHeaderPanel:
                //    break;
                //case GridStringId.LayoutViewLabelShowLines:
                //    break;
                //case GridStringId.LayoutViewLabelSpacing:
                //    break;
                //case GridStringId.LayoutViewLabelTextAlignment:
                //    break;
                //case GridStringId.LayoutViewLabelTextIndent:
                //    break;
                //case GridStringId.LayoutViewLabelVertical:
                //    break;
                //case GridStringId.LayoutViewLabelViewMode:
                //    break;
                //case GridStringId.LayoutViewMultiColumnModeBtnHint:
                //    break;
                //case GridStringId.LayoutViewMultiRowModeBtnHint:
                //    break;
                //case GridStringId.LayoutViewPageTemplateCard:
                //    break;
                //case GridStringId.LayoutViewPageViewLayout:
                //    break;
                //case GridStringId.LayoutViewPanBtnHint:
                //    break;
                //case GridStringId.LayoutViewRowModeBtnHint:
                //    break;
                //case GridStringId.LayoutViewSingleModeBtnHint:
                //    break;
                //case GridStringId.MenuColumnAutoFilterRowHide:
                //    break;
                //case GridStringId.MenuColumnAutoFilterRowShow:
                //    break;
                //case GridStringId.MenuColumnAverageSummaryTypeDescription:
                //    break;
                //case GridStringId.MenuColumnBestFit:
                //    break;
                //case GridStringId.MenuColumnBestFitAllColumns:
                //    break;
                //case GridStringId.MenuColumnClearFilter:
                //    break;
                //case GridStringId.MenuColumnClearSorting:
                //    break;
                //case GridStringId.MenuColumnColumnCustomization:
                //    break;
                //case GridStringId.MenuColumnCountSummaryTypeDescription:
                //    break;
                //case GridStringId.MenuColumnExpressionEditor:
                //    break;
                //case GridStringId.MenuColumnFilter:
                //    break;
                //case GridStringId.MenuColumnFilterEditor:
                //    break;
                //case GridStringId.MenuColumnFilterMode:
                //    break;
                //case GridStringId.MenuColumnFilterModeDisplayText:
                //    break;
                //case GridStringId.MenuColumnFilterModeValue:
                //    break;
                //case GridStringId.MenuColumnFindFilterHide:
                //    break;
                //case GridStringId.MenuColumnFindFilterShow:
                //    break;
                //case GridStringId.MenuColumnGroup:
                //    break;
                //case GridStringId.MenuColumnGroupBox:
                //    break;
                //case GridStringId.MenuColumnGroupIntervalDay:
                //    break;
                //case GridStringId.MenuColumnGroupIntervalMenu:
                //    break;
                //case GridStringId.MenuColumnGroupIntervalMonth:
                //    break;
                //case GridStringId.MenuColumnGroupIntervalNone:
                //    break;
                //case GridStringId.MenuColumnGroupIntervalSmart:
                //    break;
                //case GridStringId.MenuColumnGroupIntervalYear:
                //    break;
                //case GridStringId.MenuColumnGroupSummaryEditor:
                //    break;
                //case GridStringId.MenuColumnGroupSummarySortFormat:
                //    break;
                //case GridStringId.MenuColumnMaxSummaryTypeDescription:
                //    break;
                //case GridStringId.MenuColumnMinSummaryTypeDescription:
                //    break;
                //case GridStringId.MenuColumnRemoveColumn:
                //    break;
                //case GridStringId.MenuColumnResetGroupSummarySort:
                //    break;
                //case GridStringId.MenuColumnShowColumn:
                //    break;
                //case GridStringId.MenuColumnSortAscending:
                //    break;
                //case GridStringId.MenuColumnSortDescending:
                //    break;
                //case GridStringId.MenuColumnSortGroupBySummaryMenu:
                //    break;
                //case GridStringId.MenuColumnSumSummaryTypeDescription:
                //    break;
                //case GridStringId.MenuColumnUnGroup:
                //    break;
                //case GridStringId.MenuFooterAverage:
                //    break;
                //case GridStringId.MenuFooterAverageFormat:
                //    break;
                //case GridStringId.MenuFooterCount:
                //    break;
                //case GridStringId.MenuFooterCountFormat:
                //    break;
                //case GridStringId.MenuFooterCountGroupFormat:
                //    break;
                //case GridStringId.MenuFooterCustomFormat:
                //    break;
                //case GridStringId.MenuFooterMax:
                //    break;
                //case GridStringId.MenuFooterMaxFormat:
                //    break;
                //case GridStringId.MenuFooterMin:
                //    break;
                //case GridStringId.MenuFooterMinFormat:
                //    break;
                //case GridStringId.MenuFooterNone:
                //    break;
                //case GridStringId.MenuFooterSum:
                //    break;
                //case GridStringId.MenuFooterSumFormat:
                //    break;
                //case GridStringId.MenuGroupPanelClearGrouping:
                //    break;
                //case GridStringId.MenuGroupPanelFullCollapse:
                //    break;
                //case GridStringId.MenuGroupPanelFullExpand:
                //    break;
                //case GridStringId.MenuGroupPanelHide:
                //    break;
                //case GridStringId.MenuGroupPanelShow:
                //    break;
                //case GridStringId.PopupFilterAll:
                //    break;
                //case GridStringId.PopupFilterBlanks:
                //    break;
                //case GridStringId.PopupFilterCustom:
                //    break;
                //case GridStringId.PopupFilterNonBlanks:
                //    break;
                //case GridStringId.PrintDesignerBandHeader:
                //    break;
                //case GridStringId.PrintDesignerBandedView:
                //    break;
                //case GridStringId.PrintDesignerCardView:
                //    break;
                //case GridStringId.PrintDesignerDescription:
                //    break;
                //case GridStringId.PrintDesignerGridView:
                //    break;
                //case GridStringId.PrintDesignerLayoutView:
                //    break;
                //case GridStringId.SearchLookUpAddNewButton:
                //    break;
                //case GridStringId.SearchLookUpMissingRows:
                //    break;
                //case GridStringId.WindowErrorCaption:
                //    break;
                default:
                    return defaultLocalizer.GetLocalizedString(id);
            }
        }
    }
    class VNGridLocalizer : GridLocalizer
    {
        private GridLocalizer defaultLocalizer;
        public VNGridLocalizer(GridLocalizer defaultLocalizer)
        {
            this.defaultLocalizer = defaultLocalizer;
        }
        public override string GetLocalizedString(DevExpress.XtraGrid.Localization.GridStringId id)
        {
            switch (id)
            {
                //case GridStringId.CardViewCaptionFormat:
                //    break;
                //case GridStringId.CardViewNewCard:
                //    break;
                //case GridStringId.CardViewQuickCustomizationButton:
                //    break;
                //case GridStringId.CardViewQuickCustomizationButtonFilter:
                //    break;
                //case GridStringId.CardViewQuickCustomizationButtonSort:
                //    break;
                //case GridStringId.ColumnViewExceptionMessage:
                //    break;
                //case GridStringId.CustomFilterDialog2FieldCheck:
                //    break;
                case GridStringId.CustomFilterDialogCancelButton:
                    return "Hủy";
                case GridStringId.CustomFilterDialogCaption:
                    return "Tạo bộ lọc theo điều kiện";
                case GridStringId.CustomFilterDialogClearFilter:
                    return "Không sử dụng bộ lọc";
                case GridStringId.CustomFilterDialogConditionBlanks:
                    return "Trống";
                case GridStringId.CustomFilterDialogConditionEQU:
                    return "Bằng";
                case GridStringId.CustomFilterDialogConditionGT:
                    return "Lớn hơn";
                case GridStringId.CustomFilterDialogConditionGTE:
                    return "Lớn hơn hoặc bằng";
                case GridStringId.CustomFilterDialogConditionLT:
                    return "Nhỏ hơn";
                case GridStringId.CustomFilterDialogConditionLTE:
                    return "Nhỏ hơn hoặc bằng";
                case GridStringId.CustomFilterDialogConditionLike:
                    return "Có dạng";
                case GridStringId.CustomFilterDialogConditionNEQ:
                    return "Không bằng";
                case GridStringId.CustomFilterDialogConditionNonBlanks:
                    return "Không trống";
                case GridStringId.CustomFilterDialogConditionNotLike:
                    return "Không có dạng";
                case GridStringId.CustomFilterDialogEmptyOperator:
                    return "Chọn kiểu điều kiện";
                case GridStringId.CustomFilterDialogEmptyValue:
                    return "Nhập giá trị";
                case GridStringId.CustomFilterDialogFormCaption:
                    return "Tùy chọn điều kiện";
                //case GridStringId.CustomFilterDialogHint:
                //    break;
                case GridStringId.CustomFilterDialogOkButton:
                    return "Đồng ý";
                case GridStringId.CustomFilterDialogRadioAnd:
                    return "và";
                case GridStringId.CustomFilterDialogRadioOr:
                    return "hoặc";
                //case GridStringId.CustomizationBands:
                //    break;
                //case GridStringId.CustomizationCaption:
                //    break;
                //case GridStringId.CustomizationColumns:
                //    break;
                //case GridStringId.CustomizationFormBandHint:
                //    break;
                //case GridStringId.CustomizationFormColumnHint:
                //    break;
                //case GridStringId.FileIsNotFoundError:
                //    break;
                case GridStringId.FilterBuilderApplyButton:
                    return "Áp dụng ngay";
                case GridStringId.FilterBuilderCancelButton:
                    return "Hủy";
                case GridStringId.FilterBuilderCaption:
                    return "Tạo bộ lọc";
                case GridStringId.FilterBuilderOkButton:
                    return "Đồng ý";
                case GridStringId.FilterPanelCustomizeButton:
                    return "Thay đổi";
                case GridStringId.FindControlClearButton:
                    return "Xóa";
                case GridStringId.FindControlFindButton:
                    return "Tìm";
                case GridStringId.GridGroupPanelText:
                    return "Kéo thanh tiêu đề cột vào đây để gom nhóm theo cột đó";
                case GridStringId.GridNewRowText:
                    return "Nhập dữ liệu mới vào đây";
                //case GridStringId.GridOutlookIntervals:
                //    break;
                //case GridStringId.GroupSummaryEditorFormCancelButton:
                //    break;
                //case GridStringId.GroupSummaryEditorFormCaption:
                //    break;
                //case GridStringId.GroupSummaryEditorFormItemsTabCaption:
                //    break;
                //case GridStringId.GroupSummaryEditorFormOkButton:
                //    break;
                //case GridStringId.GroupSummaryEditorFormOrderTabCaption:
                //    break;
                //case GridStringId.GroupSummaryEditorSummaryAverage:
                //    break;
                //case GridStringId.GroupSummaryEditorSummaryCount:
                //    break;
                //case GridStringId.GroupSummaryEditorSummaryMax:
                //    break;
                //case GridStringId.GroupSummaryEditorSummaryMin:
                //    break;
                //case GridStringId.GroupSummaryEditorSummarySum:
                //    break;
                //case GridStringId.LayoutModifiedWarning:
                //    break;
                //case GridStringId.LayoutViewButtonApply:
                //    break;
                //case GridStringId.LayoutViewButtonCancel:
                //    break;
                //case GridStringId.LayoutViewButtonCustomizeHide:
                //    break;
                //case GridStringId.LayoutViewButtonCustomizeShow:
                //    break;
                //case GridStringId.LayoutViewButtonLoadLayout:
                //    break;
                //case GridStringId.LayoutViewButtonOk:
                //    break;
                //case GridStringId.LayoutViewButtonPreview:
                //    break;
                //case GridStringId.LayoutViewButtonReset:
                //    break;
                //case GridStringId.LayoutViewButtonSaveLayout:
                //    break;
                //case GridStringId.LayoutViewButtonShrinkToMinimum:
                //    break;
                //case GridStringId.LayoutViewCardCaptionFormat:
                //    break;
                //case GridStringId.LayoutViewCarouselModeBtnHint:
                //    break;
                //case GridStringId.LayoutViewCloseZoomBtnHintClose:
                //    break;
                //case GridStringId.LayoutViewCloseZoomBtnHintZoom:
                //    break;
                //case GridStringId.LayoutViewColumnModeBtnHint:
                //    break;
                //case GridStringId.LayoutViewCustomizationFormCaption:
                //    break;
                //case GridStringId.LayoutViewCustomizationFormDescription:
                //    break;
                //case GridStringId.LayoutViewCustomizeBtnHint:
                //    break;
                //case GridStringId.LayoutViewFieldCaptionFormat:
                //    break;
                //case GridStringId.LayoutViewGroupCaptions:
                //    break;
                //case GridStringId.LayoutViewGroupCards:
                //    break;
                //case GridStringId.LayoutViewGroupCustomization:
                //    break;
                //case GridStringId.LayoutViewGroupFields:
                //    break;
                //case GridStringId.LayoutViewGroupHiddenItems:
                //    break;
                //case GridStringId.LayoutViewGroupIndents:
                //    break;
                //case GridStringId.LayoutViewGroupIntervals:
                //    break;
                //case GridStringId.LayoutViewGroupLayout:
                //    break;
                //case GridStringId.LayoutViewGroupPropertyGrid:
                //    break;
                //case GridStringId.LayoutViewGroupTreeStructure:
                //    break;
                //case GridStringId.LayoutViewGroupView:
                //    break;
                //case GridStringId.LayoutViewLabelAllowFieldHotTracking:
                //    break;
                //case GridStringId.LayoutViewLabelCaptionLocation:
                //    break;
                //case GridStringId.LayoutViewLabelCardArrangeRule:
                //    break;
                //case GridStringId.LayoutViewLabelCardEdgeAlignment:
                //    break;
                //case GridStringId.LayoutViewLabelGroupCaptionLocation:
                //    break;
                //case GridStringId.LayoutViewLabelHorizontal:
                //    break;
                //case GridStringId.LayoutViewLabelPadding:
                //    break;
                //case GridStringId.LayoutViewLabelScrollVisibility:
                //    break;
                //case GridStringId.LayoutViewLabelShowCardBorder:
                //    break;
                //case GridStringId.LayoutViewLabelShowCardCaption:
                //    break;
                //case GridStringId.LayoutViewLabelShowCardExpandButton:
                //    break;
                //case GridStringId.LayoutViewLabelShowFieldBorder:
                //    break;
                //case GridStringId.LayoutViewLabelShowFieldHint:
                //    break;
                //case GridStringId.LayoutViewLabelShowFilterPanel:
                //    break;
                //case GridStringId.LayoutViewLabelShowHeaderPanel:
                //    break;
                //case GridStringId.LayoutViewLabelShowLines:
                //    break;
                //case GridStringId.LayoutViewLabelSpacing:
                //    break;
                //case GridStringId.LayoutViewLabelTextAlignment:
                //    break;
                //case GridStringId.LayoutViewLabelTextIndent:
                //    break;
                //case GridStringId.LayoutViewLabelVertical:
                //    break;
                //case GridStringId.LayoutViewLabelViewMode:
                //    break;
                //case GridStringId.LayoutViewMultiColumnModeBtnHint:
                //    break;
                //case GridStringId.LayoutViewMultiRowModeBtnHint:
                //    break;
                //case GridStringId.LayoutViewPageTemplateCard:
                //    break;
                //case GridStringId.LayoutViewPageViewLayout:
                //    break;
                //case GridStringId.LayoutViewPanBtnHint:
                //    break;
                //case GridStringId.LayoutViewRowModeBtnHint:
                //    break;
                //case GridStringId.LayoutViewSingleModeBtnHint:
                //    break;
                case GridStringId.MenuColumnAutoFilterRowHide:
                    return "Ẩn dòng tìm kiếm nhanh";
                case GridStringId.MenuColumnAutoFilterRowShow:
                    return "Hiện dòng tìm kiếm nhanh";
                //case GridStringId.MenuColumnAverageSummaryTypeDescription:
                //    break;
                case GridStringId.MenuColumnBestFit:
                    return "Tự động điều chỉnh độ rộng cột";                    
                case GridStringId.MenuColumnBestFitAllColumns:
                    return "Tự động điều chỉnh độ rộng (tất cả các cột)";
                case GridStringId.MenuColumnClearFilter:
                    return "Bỏ bộ lọc";
                case GridStringId.MenuColumnClearSorting:
                    return "Bỏ sắp xếp";
                case GridStringId.MenuColumnColumnCustomization:
                    return "Chọn cột được hiển thị";
                //case GridStringId.MenuColumnCountSummaryTypeDescription:
                //    break;
                //case GridStringId.MenuColumnExpressionEditor:
                //    break;
                //case GridStringId.MenuColumnFilter:
                //    break;
                case GridStringId.MenuColumnFilterEditor:
                    return "Tùy chọn điều kiện";
                case GridStringId.MenuColumnFilterMode:
                    return "Lọc theo ...";
                case GridStringId.MenuColumnFilterModeDisplayText:
                    return "Theo chữ hiển thị";
                case GridStringId.MenuColumnFilterModeValue:
                    return "Theo giá trị thật";
                case GridStringId.MenuColumnFindFilterHide:
                    return "Ẩn chức năng tìm kiếm";
                case GridStringId.MenuColumnFindFilterShow:
                    return "Tìm kiếm";
                case GridStringId.MenuColumnGroup:
                    return "Gom nhóm theo cột này";
                case GridStringId.MenuColumnGroupBox:
                    return "Group Box";
                
                case GridStringId.MenuColumnGroupIntervalDay:
                    return "Ngày";
                case GridStringId.MenuColumnGroupIntervalMenu:
                    return "Góm nhóm theo";
                case GridStringId.MenuColumnGroupIntervalMonth:
                    return "Tháng";
                case GridStringId.MenuColumnGroupIntervalNone:
                    return "Không";
                case GridStringId.MenuColumnGroupIntervalSmart:
                    return "Tự động";
                case GridStringId.MenuColumnGroupIntervalYear:
                    return "Năm";
                //case GridStringId.MenuColumnGroupSummaryEditor:
                //    break;
                //case GridStringId.MenuColumnGroupSummarySortFormat:
                //    break;
                //case GridStringId.MenuColumnMaxSummaryTypeDescription:
                //    break;
                //case GridStringId.MenuColumnMinSummaryTypeDescription:
                //    break;
                case GridStringId.MenuColumnRemoveColumn:
                    return "Ẩn cột này";
                //case GridStringId.MenuColumnResetGroupSummarySort:
                //    break;
                case GridStringId.MenuColumnShowColumn:
                    return "Show Column";
                case GridStringId.MenuColumnSortAscending:
                    return "Sắp xếp tăng dần";
                case GridStringId.MenuColumnSortDescending:
                    return "Sắp xếp giảm dần";
                //case GridStringId.MenuColumnSortGroupBySummaryMenu:
                //    break;
                //case GridStringId.MenuColumnSumSummaryTypeDescription:
                //    break;
                case GridStringId.MenuColumnUnGroup:
                    return "Bỏ gom nhóm";
                case GridStringId.MenuFooterAverage:
                    return "Tính trung bình";
                //case GridStringId.MenuFooterAverageFormat:
                //    break;
                case GridStringId.MenuFooterCount:
                    return "Đếm số lượng";
                //case GridStringId.MenuFooterCountFormat:
                //    break;
                //case GridStringId.MenuFooterCountGroupFormat:
                //    break;
                //case GridStringId.MenuFooterCustomFormat:
                //    break;
                case GridStringId.MenuFooterMax:
                    return "Lớn nhất";
                //case GridStringId.MenuFooterMaxFormat:
                //    break;
                case GridStringId.MenuFooterMin:
                    return "Nhỏ nhất";
                //case GridStringId.MenuFooterMinFormat:    
                case GridStringId.MenuFooterNone:
                    return "Không thống kế";
                case GridStringId.MenuFooterSum:
                    return "Tính tổng";
                //case GridStringId.MenuFooterSumFormat:
                //    break;
                case GridStringId.MenuGroupPanelClearGrouping:
                    return "Bỏ gom nhóm";
                case GridStringId.MenuGroupPanelFullCollapse:
                    return "Thu gọn tất cả";
                case GridStringId.MenuGroupPanelFullExpand:
                    return "Hiện thị chi tiết tất cả";
                case GridStringId.MenuGroupPanelHide:
                    return "Ẩn thanh gom nhóm";
                case GridStringId.MenuGroupPanelShow:
                    return "Hiện thanh gom nhóm";
                case GridStringId.PopupFilterAll:
                    return "Tất cả";
                case GridStringId.PopupFilterBlanks:
                    return "Dòng trống";
                case GridStringId.PopupFilterCustom:
                    return "Tùy chọn điều kiện ...";
                case GridStringId.PopupFilterNonBlanks:
                    return "Dòng không trống";
                //case GridStringId.PrintDesignerBandHeader:
                //    break;
                //case GridStringId.PrintDesignerBandedView:
                //    break;
                //case GridStringId.PrintDesignerCardView:
                //    break;
                //case GridStringId.PrintDesignerDescription:
                //    break;
                //case GridStringId.PrintDesignerGridView:
                //    break;
                //case GridStringId.PrintDesignerLayoutView:
                //    break;
                //case GridStringId.SearchLookUpAddNewButton:
                //    break;
                //case GridStringId.SearchLookUpMissingRows:
                //    break;
                //case GridStringId.WindowErrorCaption:
                //    break;
                default:
                    return defaultLocalizer.GetLocalizedString(id);
            }
        }
    }
}
